package spring.superrun.record.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 *默认控制器
 */
@Controller
@RequestMapping("home")
public class HomeController {
    @GetMapping("index")
    public String Index() {
        return  "index.html";
    }
    @GetMapping("location")
    public String LocationManagement() {
        return  "views/locations.html";
    }
    @GetMapping("user")
    public String UserManagement() {
        return  "views/users.html";
    }
}
